package com.binvshe.binvshe.literature;

import java.io.Serializable;
import java.util.List;

/**
 * Simple to Introduction
 *
 * @ProjectName: com.binvshe.binvshe.literature
 * @Description: [一句话描述该类的功能]
 * @Author: Administrator
 * @E-mail: pengveivei@sina.cn
 * @CreateDate: 2017/2/4 19:42
 * @Version: 1.0.0
 */
public class ArticalBean implements Serializable{


    /**
     * id : 406
     * title : string,标题/书名
     * media_type : long_story
     * user : {"user_id":100000,"wx_openid":null,"club":null,"login_name":"15375716872","real_name":"15375716870","nick_name":"15375716870","gender":0,"portrait":"http://static.binvshe.com/static/modo/20160926221031610273.png","longitude":0,"latitude":0,"birthday":null,"constellation":null,"phone":"15375716872","sign":null,"province":null,"city":null,"coin":0,"company":null,"locked":false,"initial":"#","fans":0,"in_club":false}
     * club : null
     * description : string,简介
     * content : string,标题2
     * recommend : false
     * comment_count : 0
     * like_count : 0
     * state : true
     * del : false
     * create_time : 1486182509000
     * update_time : 1486182509000
     * images : []
     * chapters : [{"id":16,"title":"string,标题2","content":"string,内容2","create_time":1486183843000,"update_time":1486208069000,"del":true}]
     * tags : [{"id":2390,"name":"原作标签","tag_type":0},{"id":2391,"name":"角色标签","tag_type":1},{"id":2392,"name":"分类标签","tag_type":2}]
     * article_images : [{"width":1,"id":0,"article":null,"url":"string,地址","height":1}]
     * cover_image : string,封面图片
     * type : 1
     * view_count : 0
     * hot : 0
     * channel_id : 2
     * flag : 0
     * like : false
     * favorite : false
     */

    private int id;
    private String title;
    private String media_type;
    /**
     * user_id : 100000
     * wx_openid : null
     * club : null
     * login_name : 15375716872
     * real_name : 15375716870
     * nick_name : 15375716870
     * gender : 0
     * portrait : http://static.binvshe.com/static/modo/20160926221031610273.png
     * longitude : 0
     * latitude : 0
     * birthday : null
     * constellation : null
     * phone : 15375716872
     * sign : null
     * province : null
     * city : null
     * coin : 0
     * company : null
     * locked : false
     * initial : #
     * fans : 0
     * in_club : false
     */

    private UserBean user;
    private String club;
    private String description;
    private String content;
    private boolean recommend;
    private int comment_count;
    private int like_count;
    private boolean state;
    private boolean del;
    private long create_time;
    private long update_time;
    private String article_images;
    private String cover_image;
    private int type;
    private int view_count;
    private int hot;
    private int channel_id;
    private int flag;
    private boolean like;
    private boolean favorite;
    private List<?> images;
    /**
     * id : 16
     * title : string,标题2
     * content : string,内容2
     * create_time : 1486183843000
     * update_time : 1486208069000
     * del : true
     */

    private List<ChaptersBean> chapters;
    /**
     * id : 2390
     * name : 原作标签
     * tag_type : 0
     */

    private List<TagsBean> tags;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getMedia_type() {
        return media_type;
    }

    public void setMedia_type(String media_type) {
        this.media_type = media_type;
    }

    public UserBean getUser() {
        return user;
    }

    public void setUser(UserBean user) {
        this.user = user;
    }

    public String getClub() {
        return club;
    }

    public void setClub(String club) {
        this.club = club;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public boolean isRecommend() {
        return recommend;
    }

    public void setRecommend(boolean recommend) {
        this.recommend = recommend;
    }

    public int getComment_count() {
        return comment_count;
    }

    public void setComment_count(int comment_count) {
        this.comment_count = comment_count;
    }

    public int getLike_count() {
        return like_count;
    }

    public void setLike_count(int like_count) {
        this.like_count = like_count;
    }

    public boolean isState() {
        return state;
    }

    public void setState(boolean state) {
        this.state = state;
    }

    public boolean isDel() {
        return del;
    }

    public void setDel(boolean del) {
        this.del = del;
    }

    public long getCreate_time() {
        return create_time;
    }

    public void setCreate_time(long create_time) {
        this.create_time = create_time;
    }

    public long getUpdate_time() {
        return update_time;
    }

    public void setUpdate_time(long update_time) {
        this.update_time = update_time;
    }

    public String getArticle_images() {
        return article_images;
    }

    public void setArticle_images(String article_images) {
        this.article_images = article_images;
    }

    public String getCover_image() {
        return cover_image;
    }

    public void setCover_image(String cover_image) {
        this.cover_image = cover_image;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public int getView_count() {
        return view_count;
    }

    public void setView_count(int view_count) {
        this.view_count = view_count;
    }

    public int getHot() {
        return hot;
    }

    public void setHot(int hot) {
        this.hot = hot;
    }

    public int getChannel_id() {
        return channel_id;
    }

    public void setChannel_id(int channel_id) {
        this.channel_id = channel_id;
    }

    public int getFlag() {
        return flag;
    }

    public void setFlag(int flag) {
        this.flag = flag;
    }

    public boolean isLike() {
        return like;
    }

    public void setLike(boolean like) {
        this.like = like;
    }

    public boolean isFavorite() {
        return favorite;
    }

    public void setFavorite(boolean favorite) {
        this.favorite = favorite;
    }

    public List<?> getImages() {
        return images;
    }

    public void setImages(List<?> images) {
        this.images = images;
    }

    public List<ChaptersBean> getChapters() {
        return chapters;
    }

    public void setChapters(List<ChaptersBean> chapters) {
        this.chapters = chapters;
    }

    public List<TagsBean> getTags() {
        return tags;
    }

    public void setTags(List<TagsBean> tags) {
        this.tags = tags;
    }

    public static class UserBean implements Serializable{
        private int user_id;
        private Object wx_openid;
        private Object club;
        private String login_name;
        private String real_name;
        private String nick_name;
        private int gender;
        private String portrait;
        private int longitude;
        private int latitude;
        private Object birthday;
        private Object constellation;
        private String phone;
        private Object sign;
        private Object province;
        private Object city;
        private int coin;
        private Object company;
        private boolean locked;
        private String initial;
        private int fans;
        private boolean in_club;

        public int getUser_id() {
            return user_id;
        }

        public void setUser_id(int user_id) {
            this.user_id = user_id;
        }

        public Object getWx_openid() {
            return wx_openid;
        }

        public void setWx_openid(Object wx_openid) {
            this.wx_openid = wx_openid;
        }

        public Object getClub() {
            return club;
        }

        public void setClub(Object club) {
            this.club = club;
        }

        public String getLogin_name() {
            return login_name;
        }

        public void setLogin_name(String login_name) {
            this.login_name = login_name;
        }

        public String getReal_name() {
            return real_name;
        }

        public void setReal_name(String real_name) {
            this.real_name = real_name;
        }

        public String getNick_name() {
            return nick_name;
        }

        public void setNick_name(String nick_name) {
            this.nick_name = nick_name;
        }

        public int getGender() {
            return gender;
        }

        public void setGender(int gender) {
            this.gender = gender;
        }

        public String getPortrait() {
            return portrait;
        }

        public void setPortrait(String portrait) {
            this.portrait = portrait;
        }

        public int getLongitude() {
            return longitude;
        }

        public void setLongitude(int longitude) {
            this.longitude = longitude;
        }

        public int getLatitude() {
            return latitude;
        }

        public void setLatitude(int latitude) {
            this.latitude = latitude;
        }

        public Object getBirthday() {
            return birthday;
        }

        public void setBirthday(Object birthday) {
            this.birthday = birthday;
        }

        public Object getConstellation() {
            return constellation;
        }

        public void setConstellation(Object constellation) {
            this.constellation = constellation;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public Object getSign() {
            return sign;
        }

        public void setSign(Object sign) {
            this.sign = sign;
        }

        public Object getProvince() {
            return province;
        }

        public void setProvince(Object province) {
            this.province = province;
        }

        public Object getCity() {
            return city;
        }

        public void setCity(Object city) {
            this.city = city;
        }

        public int getCoin() {
            return coin;
        }

        public void setCoin(int coin) {
            this.coin = coin;
        }

        public Object getCompany() {
            return company;
        }

        public void setCompany(Object company) {
            this.company = company;
        }

        public boolean isLocked() {
            return locked;
        }

        public void setLocked(boolean locked) {
            this.locked = locked;
        }

        public String getInitial() {
            return initial;
        }

        public void setInitial(String initial) {
            this.initial = initial;
        }

        public int getFans() {
            return fans;
        }

        public void setFans(int fans) {
            this.fans = fans;
        }

        public boolean isIn_club() {
            return in_club;
        }

        public void setIn_club(boolean in_club) {
            this.in_club = in_club;
        }
    }

    public static class ChaptersBean implements Serializable{
        private int id;
        private String title;
        private String content;
        private long create_time;
        private long update_time;
        private boolean del;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public long getCreate_time() {
            return create_time;
        }

        public void setCreate_time(long create_time) {
            this.create_time = create_time;
        }

        public long getUpdate_time() {
            return update_time;
        }

        public void setUpdate_time(long update_time) {
            this.update_time = update_time;
        }

        public boolean isDel() {
            return del;
        }

        public void setDel(boolean del) {
            this.del = del;
        }
    }

    public static class TagsBean implements Serializable{
        private int id;
        private String name;
        private int tag_type;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public int getTag_type() {
            return tag_type;
        }

        public void setTag_type(int tag_type) {
            this.tag_type = tag_type;
        }
    }
}
